﻿using SqlSugar;

namespace OldDataSync.NewDomains
{
    /// <summary>
    /// 客户
    /// </summary>
    public class Customer : BaseDomain
    {
        /// <summary>
        /// 手机号码
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public long Phone { set; get; }

        /// <summary>
        /// 姓名
        /// </summary>
        [SugarColumn(Length = 20, IsNullable = true)]
        public string Name { set; get; }

        /// <summary>
        /// OpenId
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string OpenId { set; get; }

        /// <summary>
        /// 证件类型，0:身份证，1:护照
        /// </summary>           
        public int IDType { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        [SugarColumn(Length = 18)]
        public string IDNumber { set; get; }

    }
}
